﻿using System;
using Autodesk.Revit.DB;

namespace YJKDimensionModel.LevelDimension
{
	internal class FamilyLoadOpt : IFamilyLoadOptions
	{
		public bool OnFamilyFound(bool familyInUse, out bool overwriteParameterValues)
		{
			overwriteParameterValues = true;
			return true;
		}

		public bool OnSharedFamilyFound(Family sharedFamily, bool familyInUse, out FamilySource source, out bool overwriteParameterValues)
		{
			overwriteParameterValues = false;
            source = (FamilySource)1;
			return false;
		}
	}
}
